package com.ruoyi.examination.mapper;

import java.util.List;
import com.ruoyi.examination.domain.ExamRecordSpecial;
import com.ruoyi.examination.dto.ExamRecordSpecialDto;
import com.ruoyi.examination.vo.ExamRecordSelectVo;

/**
 * 考试记录-特种设备Mapper接口
 * 
 * @author hcc
 * @date 2025-11-03
 */
public interface ExamRecordSpecialMapper 
{
    /**
     * 查询考试记录-特种设备
     * 
     * @param examRecordId 考试记录-特种设备主键
     * @return 考试记录-特种设备
     */
    public ExamRecordSpecial selectExamRecordSpecialByExamRecordId(String examRecordId);

    /**
     * 查询考试记录-特种设备列表
     * 
     * @param examRecordSpecial 考试记录-特种设备
     * @return 考试记录-特种设备集合
     */
    public List<ExamRecordSpecial> selectExamRecordSpecialList(ExamRecordSpecial examRecordSpecial);

    /**
     * 新增考试记录-特种设备
     * 
     * @param examRecordSpecial 考试记录-特种设备
     * @return 结果
     */
    public int insertExamRecordSpecial(ExamRecordSpecial examRecordSpecial);

    /**
     * 修改考试记录-特种设备
     * 
     * @param examRecordSpecial 考试记录-特种设备
     * @return 结果
     */
    public int updateExamRecordSpecial(ExamRecordSpecial examRecordSpecial);

    /**
     * 删除考试记录-特种设备
     * 
     * @param examRecordId 考试记录-特种设备主键
     * @return 结果
     */
    public int deleteExamRecordSpecialByExamRecordId(String examRecordId);

    /**
     * 批量删除考试记录-特种设备
     * 
     * @param examRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamRecordSpecialByExamRecordIds(String[] examRecordIds);

    /**
     * 查询考试记录列表
     * @param examRecordSelectVo
     * @return
     */
    public List<ExamRecordSpecialDto> getExamSpecialList(ExamRecordSelectVo examRecordSelectVo);

    //通过学员id查询特设成绩
    public List<ExamRecordSpecial> selectExamListByStudentId(String studentId);
}
